package edu.math.chaos.itfunc.ui;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * User: Илья
 * Date: 09.11.13
 * Time: 17:05
 */
public class UIApplication extends Application {

	private static final String APP_NAME = "СИФ";

	public void start(Stage primaryStage) throws Exception {
		ParametersController.openParameters(primaryStage);
	}

	public static String makeStageTitle(String title) {
		return title == null ? APP_NAME : APP_NAME + " - " + title;
	}
}
